MPHB\Advanced\Api\Data\CouponData S

Total Complexity 35
Dependencies 6
Dependents 1
Total lines 292
Lines of code 229
Logical lines of code 72
Comment lines 27
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
setDataToEntity()
A
46 13 39
getProperties()
S
36 1 118
initTypedCoupon()
S
59 4 16
getType()
S
67 3 7
setAccommodationTypes()
S
59 2 15
getCheckInDateAfter()
S
75 2 4
getCheckOutDateBefore()
S
75 2 4
getRepository()
S
80 1 3
getExpirationDate()
S
76 1 4
getAccommodationTypes()
S
81 1 3
getMinDaysBeforeCheckIn()
S
81 1 3
getMaxDaysBeforeCheckIn()
S
81 1 3
getMinDays()
S
81 1 3
getMaxDays()
S
81 1 3
save()
S
77 1 4